package com.nine.common.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Date;
import java.time.LocalDateTime;

@Data
@JsonInclude(JsonInclude.Include.ALWAYS)
public class MoneyLogFormVO {
    private Long logId;

    private Long orderId;
        private Date orderDate;
        private Integer orderTime;

    private Long sysId;
        private String sysName;

    private BigDecimal money;

    private LocalDateTime logTime;

    private String logDescription;

    public MoneyLogFormVO(MoneyLogForm moneyLogForm,Date orderDate,Integer orderTime,String sysName){
        this.logId=moneyLogForm.getLogId();
        this.orderId=moneyLogForm.getOrderId();
        this.sysId=moneyLogForm.getSysId();
        this.money=moneyLogForm.getMoney();
        this.logTime=moneyLogForm.getLogTime();
        this.logDescription=moneyLogForm.getLogDescription();

        this.orderDate=orderDate;
        this.orderTime=orderTime;
        this.sysName = sysName;
    }
}
